coefnames <- c(
  # Treatment conditions in civic pulse
  "clawtreat" = "Clawback Treatment",
  "transptreat" = "Transparency Treatment",
  
  # Demographics
  "age" = "Age",
  "scale(age)" = "Age (normalized)",
  "I(age^2)"="Age$^2$",
  # Caps 2022
  "age_catAge 35-54" = "35 to 54 years",
  "age_catAge 55+" = "55 years plus",
  # Age groups for CivicPulse
  "Age_cat52-66" = "Age: 52 to 66 years",
  "Age_catOver 67" = "Age: over 67 years",
  "Age_catNot Say" = "Age: not say",
  # First county fair
  "age25-35"="25 to 34 years",
  "age35-44"="35 to 44 years",
  "age45-54"="45 to 54 years",
  "age55-64"="55 to 64 years",
  
  #Sex/Gender
  "Female"="Female",
  "Woman"="Woman",
  "sex"="Woman",
  
  #Race/ethnicity
  "Black" = "Black",
  "Hispanic" = "Hispanic",
  "Minority_bin"="Minority (=1)",
  "race_acswhite"="White",
  
  #Partisanship
  "PartySummaryRepublican" = "Republican",
  "PartySummaryNeither"="Neither party",
  "PartySummaryNot Say"="Won't say party",
  "partysummary"="Neither party",
  "partysummaryRepublican"="Republican",
  
  # Ideology
  "IdeoSimpleLiberal"="Ideology: Liberal",
  "IdeoSimpleModerate"="Ideology: Moderate",
  "IdeoSimpleNot Say"="Ideology: Not Say",
  "IdeoSimpleNot Sure"="Ideology: Not Sure",
  
  #education
  "CollegeDegree" = "College degree",
  "College"="College (=1)",
  "CollegeIntend" = "Plans for college (=1)",
  
  #education-youth
  "HighestEdAssociate Degree"="Associate Degree",
  "HighestEdBachelor’s Degree"="Bachelor's Degree",
  "HighestEdCurrently in high school"="Currently in high school",
  "HighestEdHigh School Diploma or GED"="High School Diploma or GED",
  "HighestEdNo High School"="No High School",
  "HighestEdSome college course work but non-degree or certificate"="Some college",
  "HighestEdSome High School"="Some High School",
  "HighestEdTechnical Certificate"="Technical Certificate",
  
  #interactions
  "CollegeDegree:PartySummaryNeither" = "College degree x Independent",
  "CollegeDegree:PartySummaryRepublican" = "College degree x Republican",
  
  # Employment
  "employfull" = "Employed",
  "fulltime"="Employed",
  
  # Fossil fuel employment
  "ffemploy"="Fossil fuel employment",
  "ff"="Fossil fuel employment",
  
  # Union
  "union"="Union household",
  
  #income
  "income5Less than $29,999" = "Income Q1",
  "income5$30,000 - $59,999" = "Income Q2",
  "income5$60,000 - $99,999" = "Income Q3",
  "income5$100,000 or more" = "Income Q4",
  "income5Prefer not to say" = "Income Not say",
  "HighIncome"="High income",
  "Income_InclLess than $10,000"="Income: Less than 10,000",
  "Income_Incl$20,000 - $29,999"="Income: 20,000 - 29,999",
  "Income_Incl$30,000 - $39,999"="Income: 30,000 - 39,999",
  "Income_Incl$40,000 - $49,999"="Income: 40,000 - 49,999",
  "Income_Incl$50,000 - $59,999"="Income: 50,000 - 59,999",
  "Income_Incl$60,000 - $69,999"="Income: 60,000 - 69,999",
  "Income_Incl$70,000 - $79,999"="Income: 70,000 - 79,999",
  "Income_Incl$80,000 - $99,999"="Income: 80,000 - 99,999",
  "Income_Incl$100,000 - $119,999"="Income: 100,000 - 119,999",
  "Income_Incl$120,000 - $149,999"="Income: 120,000 - 149,999",
  "Income_Incl$150,000 - $199,999"="Income: 150,000 - 199,999",
  "Income_Incl$200,000 - $249,999"="Income: 200,000 - 249,999",
  "Income_Incl$250,000 - $349,999"="Income: 250,000 - 349,999",
  "Income_Incl$350,000 - $499,999"="Income: 350,000 - 499,999",
  "Income_Incl$500,000 or more"="Income: 500,000 or more",
  "Income_InclPrefer not to say"="Income: Prefer not to say",
  # August 2022 CAPS
  "income$15,000 to $24,999" = "Income: 15,000 to 24,999",
  "income$25,000 to $34,999" = "Income: 25,000 to 34,999",
  "income$35,000 to $49,999" = "Income: 35,000 to 49,999",
  "income$50,000 to $74,999" = "Income: 50,000 to 74,999",
  "income$75,000 to $99,999" = "Income: 75,000 to 99,999",
  "income$100,000 to $124,999" = "Income: 100,000 to 124,999",
  "income$125,000 to $149,999" = "Income: 125,000 to 149,999",
  "income$150,000 to $199,999" = "Income: 150,000 to 199,999",
  "income$200,000 to $249,999" = "Income: 200,000 to 249,999",
  "income$250,000 or more" = "Income: 250,000 or more",
  "incomeDecline to answer" = "Income: not say",
  # County fair 2021
  "income_acs$20,000 to $39,999"="Income: 20,000 to 39,999",
  "income_acs$40,000 to $59,999"="Income: 40,000 to 59,999",
  "income_acs$60,000 - $99,999"="Income: 60,000 to 99,999",
  "income_acsLess than $20,000"="Income: Less than 20,000",
  
  #rural
  "ruralSuburban" = "Suburban",
  "ruralRural" = "Rural",
  "Rural_bin" = "Rural",
  
  #investment beliefs
  "InvestmentKeep the investment at the same level" = "Investment: Same level",
  "InvestmentReduce the investment" = "Investment: Reduce",
  
  #effects of climate policy
  "ClimateImpact_triIncrease" = "Climate policy: Increase economic activity",
  "ClimateImpact_triNo change" = "Climate policy: No economic change",
  
  # climate change beliefs
  "gw_index" = "Climate beliefs index",
  "gw_index_all"="Climate beliefs index",
  "gw_binary"="Climate concern (=1)",
  
  # Trust index
  "trust_index" = "Trust index",
  
  #Beliefs about green jobs index
  "pc1"="Green jobs index",
  
  # CAPS August 2022
  "envt_import" = "Environment most important (=1)",
  "biz_reg" = "Overregulation most important",
  
  #caps 9 regions
  "region9Middle Atlantic" = "Middle Atlantic",
  "region9East North Central" = "North Central",
  "region9West North Central" = "West North Central",
  "region9South Atlantic" = "South Atlantic",
  "region9East South Central" = "East South Central",
  "region9West South Central" = "West South Central",
  "region9Mountain" = "Mountain",
  "region9Pacific" = "Pacific",
  "region9New England" = "New England",
  
  #caps 4 regions
  "region4Midwest" = "Midwest",
  "region4South" = "South",
  "region4West" = "West",
  "region4Northeast" = "Northeast",
  
  #roosevelt samples
  "mastersample_ruralgulf_coast_nonurban"="Gulf Coast (Non-Urban)",
  "mastersample_ruralgulf_coast_urban"="Gulf Coast (Urban)",
  "mastersample_ruralindustrial_heartland_nonurban"="Industrial Midwest (Non-Urban)",
  "mastersample_ruralindustrial_heartland_urban"="Industrial Midwest (Urban)",
  "mastersample_ruralnew_mexico_nonurban"="New Mexico (Non-Urban)",
  "mastersample_ruralnew_mexico_urban"="New Mexico (Urban)",
  "mastersample_ruralswparegion_nonurban"="SWPA (Non-Urban)",
  "mastersample_ruralswparegion_urban" = "SWPA (Urban)",
  
  #objective measures of energy
  "scale(coal_emp_ctyzip)"="Coal presence",
  "scale(oilgas_emp_ctyzip)"="Oil/gas presence",
  "scale(totalMW_Solar)"="Solar presence",
  "scale(totalMW_Wind)"="Wind presence",
  
  #job prospects
  "totalfuturejobs_slim_sc"="Future job optimism",
  "totallocaljobs_slim_sc"="Local job optimism",
  
  #mobility scale
  "mobility_fSmall adjustment"="Small adjustment",
  "mobility_fModerate adjustment"="Moderate adjustment",
  "mobility_fLarge adjustment"="Large adjustment",
  
  # Government type
  "Gov_typemunicipality"="Municipality",
  "Gov_typetownship"="Township",
  
  # fossil fuel sample block
  "SampleTargeted"="Fossil fuel sample",
  
  # County vote share and characteristics
  "biden2020"="2020 Biden vote share",
  "Census_area_college"="College share",
  "log(Census_area_population)"="Population (log)",
  "Census_area_urban"="Urban share",
  
  #youth block
  "youth_blockYouth"="Youth sample",
  
  # First county fair
  "politician"="Politician Treatment (=1)",
  
  #Intercept
  "(Intercept)" = "Intercept"
)